
from paddleocr import TextRecognition

model = TextRecognition()
output = model.predict(input="1.png")
for res in output:
    res.print()
    res.save_to_img(save_path="./output/")
    res.save_to_json(save_path="./output/res.json")